<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>贪吃蛇</title>
</head>
<body>

    <!-- 最外面的边框 -->
    <div id="main">
        <!-- 设置游戏舞台 -->
        <div id="state">
            <div id="snack">
                <div></div>
            </div>
            <div id="food">
                <!-- 添加4个div给食物添加样式 -->
                <div></div>
                <div></div>
                <div></div>
                <div></div>
            </div>
        </div>

        <!-- 设置记分牌 -->
        <div id="scope-panel">

            <div>
                SCOPE:<span id="scope">0</span>
            </div>
            <div>
                LEVEL:<span id="level">1</span>
            </div>
        </div>
    </div>

</body>
</html>